﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.Configuration;
using System.Configuration;
using VQWEB.common;
using System.Text.RegularExpressions;
namespace VQWEB
{
    public partial class index : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            string a = "Chúng tôi đang \"thiết kế\" website cho Công ty giáo dục";
            ltrView.Text = VQWEB.common.Unit.ConvertToUnSign(a);

            //Configuration config = WebConfigurationManager.OpenWebConfiguration("/");
            //AuthorizationSection auth = (AuthorizationSection)config.GetSection("system.web/authorization");
            //AuthorizationRule arule = new AuthorizationRule(AuthorizationRuleAction.Allow);
            //string s = Server.MapPath("~/administrator/modules.xml");
            //string virtual_path = VirtualPathUtility.ToAbsolute("~/administrator/modules.xml");
            //ltrView.Text = ReadXML.MenuAdmin();
            //ltrView.Text = s;
            //ltrView.Text = virtual_path;

           // string s = "Noi dung bai tap [1] theo phuong (1) phap trac {a} nghiep (2) va cac phuong (3) phap khac [2] den cuoi {b} cung";
            //string pattern = @"\[(.*?)]";
            //Regex re = new Regex(pattern);
            //string kq = re.Replace(s, "<input name='$1'></input>");
            //Response.Write(kq);
            //string kq = StringHelper.Format(s);
            //Response.Write(kq);
        }
    }

   
}